package com.wallet.my.dao.mapper;

import com.wallet.my.dao.pojo.UserDO;
import org.springframework.stereotype.Repository;

/**
 * 与user表交互
 */
@Repository
public interface UserMapper {
//    注册用户
    int addUser(UserDO userDO);

//    根据用户名查询用户
    UserDO getUserByName(String username);
}
